package com.sxt.bus.mapper;

import java.util.List;

import com.sxt.bus.domain.Customer;
import com.sxt.bus.vo.tjfx.Pie;

public interface CustomerMapper {
    int deleteByPrimaryKey(String identity);

    int insert(Customer record);

    int insertSelective(Customer record);

    Customer selectByPrimaryKey(String identity);

    int updateByPrimaryKeySelective(Customer record);

    int updateByPrimaryKey(Customer record);
  //查询
    List<Customer> queryAllCustomer(Customer customer);
    
    //统计分析
    List<Pie> queryCustomerAddressCount();

	List<Pie> queryAllCustomerSex();
}